import Http from '@/http';

export function uploadIconApi(file:File) {
    const formData = new FormData()
    formData.append('file', file)
    return Http.post('upload/icon', formData)
}


export function uploadPicApi(file:File) {
    const formData = new FormData()
    formData.append('file', file)
    return Http.post('upload/pic', formData)
}